package com.wzs.easytobuy.mapper;

import com.wzs.easytobuy.model.History;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface HistoryMapper {
    int deleteByPrimaryKey(String id);

    int insert(History record);

    int insertSelective(History record);

    History selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(History record);

    int updateByPrimaryKey(History record);

    List<Map<String, Object>> selectAllByUid(String userId);

    boolean deleteByUid(String userId);

}